.class final Lcom/adwo/adsdk/q;
.super Landroid/widget/FrameLayout;
.source "SourceFile"

# interfaces
.implements Landroid/view/GestureDetector$OnGestureListener;


# static fields
.field private static t:Ljava/lang/String;


# instance fields
.field protected a:Landroid/webkit/WebView;

.field private b:Landroid/app/NotificationManager;

.field private c:Landroid/app/Notification;

.field private volatile d:Z

.field private e:Landroid/widget/Button;

.field private f:Landroid/widget/Button;

.field private g:Landroid/widget/Button;

.field private h:Landroid/widget/Button;

.field private i:Landroid/widget/LinearLayout;

.field private j:Landroid/widget/RelativeLayout;

.field private k:Landroid/graphics/drawable/Drawable;

.field private l:Landroid/graphics/drawable/Drawable;

.field private m:Landroid/graphics/drawable/Drawable;

.field private n:Ljava/lang/ref/WeakReference;

.field private o:Lcom/adwo/adsdk/F;

.field private p:Ljava/lang/String;

.field private q:Ljava/lang/String;

.field private r:Landroid/widget/LinearLayout;

.field private s:Landroid/widget/LinearLayout;

.field private u:Landroid/view/GestureDetector;


# direct methods
.method constructor <init>(Landroid/app/Activity;IJLjava/lang/String;ZZZ)V
    .locals 11
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 157
    invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 61
    const/4 v2, 0x0

    iput-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    .line 62
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/adwo/adsdk/q;->d:Z

    .line 76
    new-instance v2, Lcom/adwo/adsdk/r;

    invoke-direct {v2, p0}, Lcom/adwo/adsdk/r;-><init>(Lcom/adwo/adsdk/q;)V

    .line 98
    const/4 v2, 0x0

    iput-object v2, p0, Lcom/adwo/adsdk/q;->p:Ljava/lang/String;

    .line 100
    const/4 v2, 0x0

    iput-object v2, p0, Lcom/adwo/adsdk/q;->q:Ljava/lang/String;

    .line 150
    const/4 v2, 0x0

    iput-object v2, p0, Lcom/adwo/adsdk/q;->u:Landroid/view/GestureDetector;

    .line 158
    new-instance v2, Ljava/lang/ref/WeakReference;

    invoke-direct {v2, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v2, p0, Lcom/adwo/adsdk/q;->n:Ljava/lang/ref/WeakReference;

    .line 159
    const/16 v2, 0x3ad6

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->setId(I)V

    .line 160
    iget-object v2, p0, Lcom/adwo/adsdk/q;->n:Ljava/lang/ref/WeakReference;

    .line 161
    invoke-virtual {v2}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/app/Activity;

    .line 162
    if-nez p1, :cond_0

    .line 354
    :goto_0
    return-void

    .line 166
    :cond_0
    const-string v2, "notification"

    invoke-virtual {p1, v2}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/app/NotificationManager;

    .line 165
    iput-object v2, p0, Lcom/adwo/adsdk/q;->b:Landroid/app/NotificationManager;

    .line 167
    new-instance v2, Landroid/app/Notification;

    const v3, 0x108005e

    .line 168
    const-string v4, "\u7a0b\u5e8f\u4e0b\u8f7d\u5b8c\u6210"

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    invoke-direct {v2, v3, v4, v5, v6}, Landroid/app/Notification;-><init>(ILjava/lang/CharSequence;J)V

    .line 167
    iput-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    .line 169
    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    const/4 v3, 0x1

    iput v3, v2, Landroid/app/Notification;->defaults:I

    .line 170
    const v2, 0x1030010

    invoke-virtual {p1, v2}, Landroid/app/Activity;->setTheme(I)V

    .line 171
    const/4 v2, 0x0

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->setWillNotDraw(Z)V

    .line 173
    invoke-virtual {p1}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    iget v2, v2, Landroid/util/DisplayMetrics;->density:F

    .line 175
    const/high16 v3, 0x3d80

    mul-float/2addr v3, v2

    int-to-float v4, p2

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    .line 176
    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v4

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v5

    .line 177
    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v6

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    .line 176
    invoke-virtual {p0, v4, v5, v6, v3}, Lcom/adwo/adsdk/q;->setPadding(IIII)V

    .line 179
    new-instance v3, Landroid/widget/RelativeLayout;

    invoke-direct {v3, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    .line 180
    iget-object v3, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    new-instance v4, Landroid/widget/FrameLayout$LayoutParams;

    .line 181
    const/4 v5, -0x1

    const/4 v6, -0x1

    invoke-direct {v4, v5, v6}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 180
    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 182
    new-instance v3, Landroid/webkit/WebView;

    invoke-direct {v3, p1}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    .line 183
    iget-object v3, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    const/16 v4, 0xc8

    invoke-virtual {v3, v4}, Landroid/webkit/WebView;->setId(I)V

    .line 185
    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    .line 186
    const/4 v4, -0x1

    const/4 v5, -0x1

    .line 185
    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 187
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v4, v3}, Landroid/webkit/WebView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 188
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    new-instance v5, Lcom/adwo/adsdk/I;

    invoke-direct {v5, p0}, Lcom/adwo/adsdk/I;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v4, v5}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    .line 189
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    new-instance v5, Lcom/adwo/adsdk/H;

    invoke-direct {v5, p0}, Lcom/adwo/adsdk/H;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v4, v5}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V

    .line 190
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    new-instance v5, Lcom/adwo/adsdk/G;

    invoke-direct {v5, p0, p1}, Lcom/adwo/adsdk/G;-><init>(Lcom/adwo/adsdk/q;Landroid/app/Activity;)V

    .line 191
    const-string v6, "interface"

    .line 190
    invoke-virtual {v4, v5, v6}, Landroid/webkit/WebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    .line 192
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v4}, Landroid/webkit/WebView;->requestFocusFromTouch()Z

    .line 193
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v4}, Landroid/webkit/WebView;->requestFocusFromTouch()Z

    .line 194
    new-instance v4, Landroid/view/GestureDetector;

    invoke-direct {v4, p0}, Landroid/view/GestureDetector;-><init>(Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v4, p0, Lcom/adwo/adsdk/q;->u:Landroid/view/GestureDetector;

    .line 195
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    new-instance v5, Lcom/adwo/adsdk/x;

    invoke-direct {v5, p0}, Lcom/adwo/adsdk/x;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v4, v5}, Landroid/webkit/WebView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 204
    invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;

    move-result-object v4

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/CookieManager;->setAcceptCookie(Z)V

    .line 205
    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v4}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v4

    .line 206
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    .line 207
    const-string v5, "utf-8"

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setDefaultTextEncodingName(Ljava/lang/String;)V

    .line 209
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setJavaScriptCanOpenWindowsAutomatically(Z)V

    .line 212
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    .line 213
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V

    .line 215
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setSupportZoom(Z)V

    .line 217
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    .line 219
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setPluginsEnabled(Z)V

    .line 220
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setSaveFormData(Z)V

    .line 222
    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Landroid/webkit/WebSettings;->setLightTouchEnabled(Z)V

    .line 223
    invoke-virtual {v4}, Landroid/webkit/WebSettings;->getUserAgentString()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/adwo/adsdk/q;->t:Ljava/lang/String;

    .line 224
    if-eqz p6, :cond_1

    .line 225
    const/4 v4, 0x3

    const/16 v5, 0x64

    invoke-virtual {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 226
    :cond_1
    iget-object v3, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    iget-object v4, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 228
    if-eqz p8, :cond_2

    .line 229
    iget-object v3, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/webkit/WebView;->setBackgroundColor(I)V

    .line 230
    iget-object v3, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    .line 236
    :goto_1
    new-instance v3, Landroid/widget/LinearLayout;

    invoke-direct {v3, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v3, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    .line 238
    invoke-virtual {p1}, Landroid/app/Activity;->getAssets()Landroid/content/res/AssetManager;

    move-result-object v3

    .line 241
    new-instance v4, Landroid/widget/Button;

    invoke-direct {v4, p1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v4, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    .line 243
    :try_start_0
    const-string v4, "adwo_done.png"

    invoke-virtual {v3, v4}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v4

    .line 245
    const-string v5, "adwo_done.png"

    .line 244
    invoke-static {v4, v5}, Landroid/graphics/drawable/Drawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 246
    iget-object v5, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    invoke-virtual {v5, v4}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 253
    :goto_2
    :try_start_1
    const-string v4, "adwo_bg.png"

    invoke-virtual {v3, v4}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v4

    .line 255
    const-string v5, "adwo_bg.png"

    .line 254
    invoke-static {v4, v5}, Landroid/graphics/drawable/Drawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    .line 256
    iget-object v5, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v4}, Landroid/widget/LinearLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    :try_end_1
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_1

    .line 262
    :goto_3
    new-instance v4, Landroid/widget/RelativeLayout$LayoutParams;

    .line 263
    const/4 v5, -0x1

    const/high16 v6, 0x4230

    mul-float/2addr v6, v2

    float-to-int v6, v6

    .line 262
    invoke-direct {v4, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 264
    const/16 v5, 0xc

    invoke-virtual {v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 265
    iget-object v5, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    const/16 v6, 0x12c

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setId(I)V

    .line 267
    new-instance v5, Landroid/widget/Button;

    invoke-direct {v5, p1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    .line 269
    :try_start_2
    const-string v5, "adwo_right_arrow.png"

    invoke-virtual {v3, v5}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v5

    .line 271
    const-string v6, "adwo_right_arrow.png"

    .line 270
    invoke-static {v5, v6}, Landroid/graphics/drawable/Drawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    iput-object v5, p0, Lcom/adwo/adsdk/q;->k:Landroid/graphics/drawable/Drawable;
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_2

    .line 275
    :goto_4
    move-object v0, p0

    move/from16 v1, p7

    invoke-direct {v0, v1}, Lcom/adwo/adsdk/q;->b(Z)V

    .line 277
    new-instance v5, Landroid/widget/Button;

    invoke-direct {v5, p1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    .line 279
    :try_start_3
    const-string v5, "adwo_rec.png"

    invoke-virtual {v3, v5}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v5

    .line 280
    const-string v6, "adwo_rec.png"

    invoke-static {v5, v6}, Landroid/graphics/drawable/Drawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v5

    iput-object v5, p0, Lcom/adwo/adsdk/q;->m:Landroid/graphics/drawable/Drawable;

    .line 281
    iget-object v5, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    iget-object v6, p0, Lcom/adwo/adsdk/q;->m:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v5, v6}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_3

    .line 287
    :goto_5
    new-instance v5, Landroid/widget/Button;

    invoke-direct {v5, p1}, Landroid/widget/Button;-><init>(Landroid/content/Context;)V

    iput-object v5, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    .line 289
    :try_start_4
    const-string v5, "adwo_left_arrow.png"

    invoke-virtual {v3, v5}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;

    move-result-object v3

    .line 291
    const-string v5, "adwo_left_arrow.png"

    .line 290
    invoke-static {v3, v5}, Landroid/graphics/drawable/Drawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v3

    iput-object v3, p0, Lcom/adwo/adsdk/q;->l:Landroid/graphics/drawable/Drawable;
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_4

    .line 295
    :goto_6
    move-object v0, p0

    move/from16 v1, p7

    invoke-direct {v0, v1}, Lcom/adwo/adsdk/q;->c(Z)V

    .line 296
    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    .line 297
    const/4 v5, -0x1

    .line 298
    const/4 v6, -0x1

    .line 296
    invoke-direct {v3, v5, v6}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 299
    const/high16 v5, 0x3f80

    iput v5, v3, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    .line 300
    const/16 v5, 0x11

    iput v5, v3, Landroid/widget/LinearLayout$LayoutParams;->gravity:I

    .line 301
    new-instance v5, Landroid/widget/LinearLayout;

    invoke-direct {v5, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 302
    new-instance v6, Landroid/widget/LinearLayout;

    invoke-direct {v6, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 303
    new-instance v7, Landroid/widget/LinearLayout;

    invoke-direct {v7, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 304
    new-instance v8, Landroid/widget/LinearLayout;

    invoke-direct {v8, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    .line 305
    new-instance v9, Landroid/widget/LinearLayout;

    invoke-direct {v9, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v9, p0, Lcom/adwo/adsdk/q;->r:Landroid/widget/LinearLayout;

    .line 306
    new-instance v9, Landroid/widget/LinearLayout;

    invoke-direct {v9, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v9, p0, Lcom/adwo/adsdk/q;->s:Landroid/widget/LinearLayout;

    .line 307
    invoke-virtual {v5, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 308
    invoke-virtual {v6, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 309
    invoke-virtual {v7, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 310
    invoke-virtual {v8, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 311
    iget-object v9, p0, Lcom/adwo/adsdk/q;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v9, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 312
    iget-object v9, p0, Lcom/adwo/adsdk/q;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v9, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 313
    const/16 v3, 0x11

    invoke-virtual {v5, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 314
    const/16 v3, 0x11

    invoke-virtual {v6, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 315
    const/16 v3, 0x11

    invoke-virtual {v7, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 316
    const/16 v3, 0x11

    invoke-virtual {v8, v3}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 317
    iget-object v3, p0, Lcom/adwo/adsdk/q;->r:Landroid/widget/LinearLayout;

    const/16 v7, 0x11

    invoke-virtual {v3, v7}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 318
    iget-object v3, p0, Lcom/adwo/adsdk/q;->s:Landroid/widget/LinearLayout;

    const/16 v7, 0x11

    invoke-virtual {v3, v7}, Landroid/widget/LinearLayout;->setGravity(I)V

    .line 319
    iget-object v3, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    .line 320
    const/high16 v8, 0x420c

    mul-float/2addr v8, v2

    float-to-int v8, v8

    const/high16 v9, 0x4200

    mul-float/2addr v9, v2

    float-to-int v9, v9

    invoke-direct {v7, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 319
    invoke-virtual {v5, v3, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 321
    iget-object v3, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    new-instance v7, Landroid/widget/LinearLayout$LayoutParams;

    .line 322
    const/high16 v8, 0x420c

    mul-float/2addr v8, v2

    float-to-int v8, v8

    const/high16 v9, 0x4200

    mul-float/2addr v9, v2

    float-to-int v9, v9

    invoke-direct {v7, v8, v9}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 321
    invoke-virtual {v6, v3, v7}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 325
    iget-object v3, p0, Lcom/adwo/adsdk/q;->r:Landroid/widget/LinearLayout;

    iget-object v7, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    new-instance v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 326
    const/high16 v9, 0x420c

    mul-float/2addr v9, v2

    float-to-int v9, v9

    const/high16 v10, 0x420c

    mul-float/2addr v10, v2

    float-to-int v10, v10

    invoke-direct {v8, v9, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 325
    invoke-virtual {v3, v7, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 327
    iget-object v3, p0, Lcom/adwo/adsdk/q;->s:Landroid/widget/LinearLayout;

    iget-object v7, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    new-instance v8, Landroid/widget/LinearLayout$LayoutParams;

    .line 328
    const/high16 v9, 0x4258

    mul-float/2addr v9, v2

    float-to-int v9, v9

    const/high16 v10, 0x420c

    mul-float/2addr v2, v10

    float-to-int v2, v2

    invoke-direct {v8, v9, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 327
    invoke-virtual {v3, v7, v8}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 329
    iget-object v2, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 330
    iget-object v2, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 333
    iget-object v2, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    new-instance v3, Lcom/adwo/adsdk/y;

    invoke-direct {v3, p0}, Lcom/adwo/adsdk/y;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 348
    iget-object v2, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setVisibility(I)V

    .line 349
    iget-object v2, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    const/4 v3, 0x4

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setVisibility(I)V

    .line 350
    iget-object v2, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v3, v4}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 351
    iget-object v2, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->addView(Landroid/view/View;)V

    .line 352
    if-nez p5, :cond_5

    const-string v2, "toptobottom"

    :goto_7
    const-string v3, "toptobottom"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    new-instance v2, Landroid/view/animation/TranslateAnimation;

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    const/high16 v8, -0x4080

    const/4 v9, 0x1

    const/4 v10, 0x0

    invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    invoke-virtual {v2, p3, p4}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    new-instance v3, Lcom/adwo/adsdk/z;

    invoke-direct {v3, p0}, Lcom/adwo/adsdk/z;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v2, v3}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->startAnimation(Landroid/view/animation/Animation;)V

    .line 353
    :goto_8
    iget-object v2, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto/16 :goto_0

    .line 232
    :cond_2
    iget-object v3, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    const/4 v4, -0x1

    invoke-virtual {v3, v4}, Landroid/webkit/WebView;->setBackgroundColor(I)V

    .line 233
    iget-object v3, p0, Lcom/adwo/adsdk/q;->j:Landroid/widget/RelativeLayout;

    const/4 v4, -0x1

    invoke-virtual {v3, v4}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    goto/16 :goto_1

    .line 247
    :catch_0
    move-exception v4

    .line 248
    invoke-virtual {v4}, Ljava/io/IOException;->printStackTrace()V

    .line 249
    iget-object v4, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    const v5, 0x108001d

    invoke-virtual {v4, v5}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto/16 :goto_2

    .line 257
    :catch_1
    move-exception v4

    .line 258
    invoke-virtual {v4}, Ljava/io/IOException;->printStackTrace()V

    .line 259
    iget-object v4, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    const v5, -0x333334

    invoke-virtual {v4, v5}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    goto/16 :goto_3

    .line 272
    :catch_2
    move-exception v5

    .line 273
    invoke-virtual {v5}, Ljava/io/IOException;->printStackTrace()V

    goto/16 :goto_4

    .line 282
    :catch_3
    move-exception v5

    .line 283
    iget-object v6, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    const v7, 0x1080074

    invoke-virtual {v6, v7}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 284
    invoke-virtual {v5}, Ljava/io/IOException;->printStackTrace()V

    goto/16 :goto_5

    .line 292
    :catch_4
    move-exception v3

    .line 293
    invoke-virtual {v3}, Ljava/io/IOException;->printStackTrace()V

    goto/16 :goto_6

    .line 352
    :cond_3
    const-string v3, "explode"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_4

    new-instance v2, Landroid/view/animation/ScaleAnimation;

    const v3, 0x3f8ccccd

    const v4, 0x3f666666

    const v5, 0x3dcccccd

    const v6, 0x3f666666

    const/4 v7, 0x1

    const/high16 v8, 0x3f00

    const/4 v9, 0x1

    const/high16 v10, 0x3f00

    invoke-direct/range {v2 .. v10}, Landroid/view/animation/ScaleAnimation;-><init>(FFFFIFIF)V

    invoke-virtual {v2, p3, p4}, Landroid/view/animation/ScaleAnimation;->setDuration(J)V

    new-instance v3, Lcom/adwo/adsdk/A;

    invoke-direct {v3, p0}, Lcom/adwo/adsdk/A;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v2, v3}, Landroid/view/animation/ScaleAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_8

    :cond_4
    new-instance v2, Landroid/view/animation/TranslateAnimation;

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    const/high16 v8, 0x3f80

    const/4 v9, 0x1

    const/4 v10, 0x0

    invoke-direct/range {v2 .. v10}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    invoke-virtual {v2, p3, p4}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    new-instance v3, Lcom/adwo/adsdk/B;

    invoke-direct {v3, p0}, Lcom/adwo/adsdk/B;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v2, v3}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    invoke-virtual {p0, v2}, Lcom/adwo/adsdk/q;->startAnimation(Landroid/view/animation/Animation;)V

    goto/16 :goto_8

    :cond_5
    move-object/from16 v2, p5

    goto/16 :goto_7
.end method

.method static synthetic a(Lcom/adwo/adsdk/q;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 64
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic a(Lcom/adwo/adsdk/q;Ljava/lang/String;Landroid/app/Activity;)V
    .locals 7
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v6, 0x0

    .line 1143
    const-string v0, "/"

    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v1

    const-string v2, "mounted"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    const-string v0, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "ExternalStorageState = "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    :cond_0
    :goto_0
    return-void

    :cond_1
    new-instance v1, Lcom/adwo/adsdk/w;

    invoke-direct {v1, p0, p2, v0}, Lcom/adwo/adsdk/w;-><init>(Lcom/adwo/adsdk/q;Landroid/app/Activity;Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    iget-boolean v1, p0, Lcom/adwo/adsdk/q;->d:Z

    if-nez v1, :cond_0

    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/adwo/adsdk/q;->d:Z

    new-instance v1, Lorg/apache/http/impl/client/DefaultHttpClient;

    invoke-direct {v1}, Lorg/apache/http/impl/client/DefaultHttpClient;-><init>()V

    new-instance v2, Lorg/apache/http/client/methods/HttpGet;

    invoke-direct {v2, p1}, Lorg/apache/http/client/methods/HttpGet;-><init>(Ljava/lang/String;)V

    const-string v3, "User-Agent"

    sget-object v4, Lcom/adwo/adsdk/q;->t:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Lorg/apache/http/client/methods/HttpGet;->setHeader(Ljava/lang/String;Ljava/lang/String;)V

    :try_start_0
    invoke-interface {v1, v2}, Lorg/apache/http/client/HttpClient;->execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;

    move-result-object v1

    invoke-interface {v1}, Lorg/apache/http/HttpResponse;->getStatusLine()Lorg/apache/http/StatusLine;

    move-result-object v2

    invoke-interface {v2}, Lorg/apache/http/StatusLine;->getStatusCode()I

    move-result v2

    const/16 v3, 0xc8

    if-ne v2, v3, :cond_5

    invoke-interface {v1}, Lorg/apache/http/HttpResponse;->getEntity()Lorg/apache/http/HttpEntity;

    move-result-object v1

    invoke-interface {v1}, Lorg/apache/http/HttpEntity;->getContent()Ljava/io/InputStream;

    move-result-object v1

    new-instance v2, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "/adwo/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_2

    invoke-virtual {v2}, Ljava/io/File;->mkdir()Z

    :cond_2
    new-instance v2, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "/adwo/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_3

    invoke-virtual {v2}, Ljava/io/File;->createNewFile()Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    move-result v3

    if-nez v3, :cond_3

    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    :cond_3
    :try_start_1
    new-instance v3, Ljava/io/FileOutputStream;

    invoke-direct {v3, v2}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V

    :goto_1
    invoke-virtual {v1}, Ljava/io/InputStream;->read()I

    move-result v4

    const/4 v5, -0x1

    if-ne v4, v5, :cond_6

    invoke-virtual {v1}, Ljava/io/InputStream;->close()V

    invoke-virtual {v3}, Ljava/io/FileOutputStream;->close()V

    invoke-static {v2}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    new-instance v2, Landroid/content/Intent;

    const-string v3, "android.intent.action.VIEW"

    invoke-direct {v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const/high16 v3, 0x1000

    invoke-virtual {v2, v3}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    const-string v3, "image/bmp"

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const-string v3, "image/gif"

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const-string v3, "image/jpeg"

    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v1, 0x0

    const/high16 v3, 0x1000

    invoke-static {p2, v1, v2, v3}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    if-eqz v2, :cond_4

    if-eqz v1, :cond_4

    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\u4e0b\u8f7d\u5b8c\u6210"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v0, "\u4e0b\u8f7d\u5b8c\u6210,\u8bf7\u5b89\u88c5\u4f7f\u7528"

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, p2, v3, v0, v1}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    :cond_4
    iget-object v0, p0, Lcom/adwo/adsdk/q;->b:Landroid/app/NotificationManager;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    invoke-virtual {v0, v1, v2}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :cond_5
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    :cond_6
    :try_start_2
    invoke-virtual {v3, v4}, Ljava/io/FileOutputStream;->write(I)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_1

    :catch_0
    move-exception v0

    :try_start_3
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    :catch_1
    move-exception v0

    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    :catchall_0
    move-exception v0

    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    throw v0
.end method

.method static synthetic a(Lcom/adwo/adsdk/q;Z)V
    .locals 4
    .parameter
    .parameter

    .prologue
    .line 519
    const/4 v1, 0x1

    iget-object v0, p0, Lcom/adwo/adsdk/q;->n:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    if-eqz v0, :cond_0

    if-eqz v1, :cond_1

    new-instance v1, Landroid/view/animation/AlphaAnimation;

    const/high16 v2, 0x3f80

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V

    const-wide/16 v2, 0xc8

    invoke-virtual {v1, v2, v3}, Landroid/view/animation/AlphaAnimation;->setDuration(J)V

    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    invoke-virtual {p0, v1}, Lcom/adwo/adsdk/q;->startAnimation(Landroid/view/animation/Animation;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v0}, Landroid/app/Activity;->finish()V

    goto :goto_0
.end method

.method static synthetic b(Lcom/adwo/adsdk/q;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 63
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    return-object v0
.end method

.method private b(Z)V
    .locals 2
    .parameter

    .prologue
    .line 455
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    if-nez v0, :cond_1

    .line 475
    :cond_0
    :goto_0
    return-void

    .line 457
    :cond_1
    if-eqz p1, :cond_0

    .line 458
    iget-object v0, p0, Lcom/adwo/adsdk/q;->k:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_2

    .line 459
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    iget-object v1, p0, Lcom/adwo/adsdk/q;->k:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 465
    :goto_1
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    new-instance v1, Lcom/adwo/adsdk/E;

    invoke-direct {v1, p0}, Lcom/adwo/adsdk/E;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 471
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    .line 461
    :cond_2
    iget-object v0, p0, Lcom/adwo/adsdk/q;->e:Landroid/widget/Button;

    .line 462
    const v1, 0x1080007

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_1
.end method

.method static synthetic c(Lcom/adwo/adsdk/q;)Landroid/view/GestureDetector;
    .locals 1
    .parameter

    .prologue
    .line 150
    iget-object v0, p0, Lcom/adwo/adsdk/q;->u:Landroid/view/GestureDetector;

    return-object v0
.end method

.method private c(Z)V
    .locals 2
    .parameter

    .prologue
    .line 478
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    if-nez v0, :cond_1

    .line 497
    :cond_0
    :goto_0
    return-void

    .line 480
    :cond_1
    if-eqz p1, :cond_0

    .line 481
    iget-object v0, p0, Lcom/adwo/adsdk/q;->l:Landroid/graphics/drawable/Drawable;

    if-eqz v0, :cond_2

    .line 482
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    iget-object v1, p0, Lcom/adwo/adsdk/q;->l:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 488
    :goto_1
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    new-instance v1, Lcom/adwo/adsdk/s;

    invoke-direct {v1, p0}, Lcom/adwo/adsdk/s;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 493
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0

    .line 484
    :cond_2
    iget-object v0, p0, Lcom/adwo/adsdk/q;->f:Landroid/widget/Button;

    .line 485
    const v1, 0x1080008

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    goto :goto_1
.end method

.method public static c(Ljava/lang/String;)Z
    .locals 4
    .parameter

    .prologue
    .line 121
    const/4 v0, 0x0

    .line 124
    const/4 v1, 0x0

    .line 126
    :try_start_0
    new-instance v2, Ljava/net/URL;

    invoke-direct {v2, p0}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    .line 127
    invoke-virtual {v2}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object p0

    check-cast p0, Ljava/net/HttpURLConnection;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/net/MalformedURLException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    .line 128
    :try_start_1
    sget v1, Lcom/adwo/adsdk/Y;->b:I

    invoke-virtual {p0, v1}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V

    .line 129
    sget v1, Lcom/adwo/adsdk/Y;->b:I

    invoke-virtual {p0, v1}, Ljava/net/HttpURLConnection;->setReadTimeout(I)V

    .line 130
    invoke-virtual {p0}, Ljava/net/HttpURLConnection;->connect()V

    .line 131
    invoke-virtual {p0}, Ljava/net/HttpURLConnection;->getResponseCode()I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1
    .catch Ljava/net/MalformedURLException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_2

    move-result v1

    .line 132
    const/16 v2, 0xc8

    if-ne v1, v2, :cond_0

    .line 133
    const/4 v0, 0x1

    .line 141
    :cond_0
    if-eqz p0, :cond_1

    .line 142
    invoke-virtual {p0}, Ljava/net/HttpURLConnection;->disconnect()V

    .line 143
    :cond_1
    :goto_0
    return v0

    :catch_0
    move-exception v2

    .line 141
    :goto_1
    if-eqz v1, :cond_1

    .line 142
    invoke-virtual {v1}, Ljava/net/HttpURLConnection;->disconnect()V

    goto :goto_0

    .line 137
    :catch_1
    move-exception v2

    move-object v3, v2

    move-object v2, v1

    move-object v1, v3

    .line 139
    :goto_2
    :try_start_2
    invoke-virtual {v1}, Ljava/io/IOException;->printStackTrace()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_2

    .line 141
    if-eqz v2, :cond_1

    .line 142
    invoke-virtual {v2}, Ljava/net/HttpURLConnection;->disconnect()V

    goto :goto_0

    .line 140
    :catchall_0
    move-exception v0

    .line 141
    :goto_3
    if-eqz v1, :cond_2

    .line 142
    invoke-virtual {v1}, Ljava/net/HttpURLConnection;->disconnect()V

    .line 143
    :cond_2
    throw v0

    .line 140
    :catchall_1
    move-exception v0

    move-object v1, p0

    goto :goto_3

    :catchall_2
    move-exception v0

    move-object v1, v2

    goto :goto_3

    .line 137
    :catch_2
    move-exception v1

    move-object v2, p0

    goto :goto_2

    :catch_3
    move-exception v1

    move-object v1, p0

    goto :goto_1
.end method

.method static synthetic d(Lcom/adwo/adsdk/q;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 65
    iget-object v0, p0, Lcom/adwo/adsdk/q;->g:Landroid/widget/Button;

    return-object v0
.end method

.method static synthetic e(Lcom/adwo/adsdk/q;)Lcom/adwo/adsdk/F;
    .locals 1
    .parameter

    .prologue
    .line 92
    iget-object v0, p0, Lcom/adwo/adsdk/q;->o:Lcom/adwo/adsdk/F;

    return-object v0
.end method


# virtual methods
.method public final a()Ljava/lang/String;
    .locals 1

    .prologue
    .line 105
    iget-object v0, p0, Lcom/adwo/adsdk/q;->q:Ljava/lang/String;

    return-object v0
.end method

.method public final a(Lcom/adwo/adsdk/F;)V
    .locals 0
    .parameter

    .prologue
    .line 95
    iput-object p1, p0, Lcom/adwo/adsdk/q;->o:Lcom/adwo/adsdk/F;

    .line 96
    return-void
.end method

.method public final a(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 109
    iput-object p1, p0, Lcom/adwo/adsdk/q;->q:Ljava/lang/String;

    .line 110
    return-void
.end method

.method final a(Ljava/lang/String;Landroid/app/Activity;)V
    .locals 7
    .parameter
    .parameter

    .prologue
    const/4 v6, 0x0

    .line 1048
    const-string v0, "/"

    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    .line 1049
    add-int/lit8 v0, v0, 0x1

    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v0

    .line 1051
    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v1

    .line 1052
    const-string v2, "mounted"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 1053
    const-string v0, "Adwo SDK"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "ExternalStorageState = "

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 1141
    :cond_0
    :goto_0
    return-void

    .line 1057
    :cond_1
    new-instance v1, Lcom/adwo/adsdk/v;

    invoke-direct {v1, p0, p2, v0}, Lcom/adwo/adsdk/v;-><init>(Lcom/adwo/adsdk/q;Landroid/app/Activity;Ljava/lang/String;)V

    invoke-virtual {p2, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 1070
    iget-boolean v1, p0, Lcom/adwo/adsdk/q;->d:Z

    if-nez v1, :cond_0

    .line 1073
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/adwo/adsdk/q;->d:Z

    .line 1075
    new-instance v1, Lorg/apache/http/impl/client/DefaultHttpClient;

    invoke-direct {v1}, Lorg/apache/http/impl/client/DefaultHttpClient;-><init>()V

    .line 1076
    new-instance v2, Lorg/apache/http/client/methods/HttpGet;

    invoke-direct {v2, p1}, Lorg/apache/http/client/methods/HttpGet;-><init>(Ljava/lang/String;)V

    .line 1077
    const-string v3, "User-Agent"

    sget-object v4, Lcom/adwo/adsdk/q;->t:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Lorg/apache/http/client/methods/HttpGet;->setHeader(Ljava/lang/String;Ljava/lang/String;)V

    .line 1079
    :try_start_0
    invoke-interface {v1, v2}, Lorg/apache/http/client/HttpClient;->execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;

    move-result-object v1

    .line 1081
    invoke-interface {v1}, Lorg/apache/http/HttpResponse;->getStatusLine()Lorg/apache/http/StatusLine;

    move-result-object v2

    .line 1082
    invoke-interface {v2}, Lorg/apache/http/StatusLine;->getStatusCode()I

    move-result v2

    const/16 v3, 0xc8

    if-ne v2, v3, :cond_5

    .line 1085
    invoke-interface {v1}, Lorg/apache/http/HttpResponse;->getEntity()Lorg/apache/http/HttpEntity;

    move-result-object v1

    invoke-interface {v1}, Lorg/apache/http/HttpEntity;->getContent()Ljava/io/InputStream;

    move-result-object v1

    .line 1088
    new-instance v2, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 1089
    const-string v4, "/adwo/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 1088
    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 1090
    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_2

    .line 1091
    invoke-virtual {v2}, Ljava/io/File;->mkdir()Z

    .line 1094
    :cond_2
    new-instance v2, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 1095
    const-string v4, "/adwo/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 1094
    invoke-direct {v2, v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 1097
    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_3

    .line 1098
    invoke-virtual {v2}, Ljava/io/File;->createNewFile()Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    move-result v3

    .line 1099
    if-nez v3, :cond_3

    .line 1138
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    .line 1102
    :cond_3
    :try_start_1
    new-instance v3, Ljava/io/FileOutputStream;

    invoke-direct {v3, v2}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V

    .line 1107
    :goto_1
    invoke-virtual {v1}, Ljava/io/InputStream;->read()I

    move-result v4

    const/4 v5, -0x1

    if-ne v4, v5, :cond_6

    .line 1109
    invoke-virtual {v1}, Ljava/io/InputStream;->close()V

    .line 1110
    invoke-virtual {v3}, Ljava/io/FileOutputStream;->close()V

    .line 1111
    invoke-static {v2}, Landroid/net/Uri;->fromFile(Ljava/io/File;)Landroid/net/Uri;

    move-result-object v1

    .line 1113
    new-instance v2, Landroid/content/Intent;

    const-string v3, "android.intent.action.VIEW"

    invoke-direct {v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 1114
    const/high16 v3, 0x1000

    invoke-virtual {v2, v3}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 1116
    const-string v3, "application/vnd.android.package-archive"

    .line 1115
    invoke-virtual {v2, v1, v3}, Landroid/content/Intent;->setDataAndType(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;

    .line 1118
    const/4 v1, 0x0

    .line 1120
    const/high16 v3, 0x1000

    .line 1118
    invoke-static {p2, v1, v2, v3}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    .line 1122
    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    if-eqz v2, :cond_4

    if-eqz v1, :cond_4

    .line 1124
    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 1125
    const-string v4, "\u4e0b\u8f7d\u5b8c\u6210"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {v4, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v0, "\u4e0b\u8f7d\u5b8c\u6210,\u8bf7\u5b89\u88c5\u4f7f\u7528"

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 1124
    invoke-virtual {v2, p2, v3, v0, v1}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V

    .line 1127
    :cond_4
    iget-object v0, p0, Lcom/adwo/adsdk/q;->b:Landroid/app/NotificationManager;

    const/4 v1, 0x0

    .line 1128
    iget-object v2, p0, Lcom/adwo/adsdk/q;->c:Landroid/app/Notification;

    .line 1127
    invoke-virtual {v0, v1, v2}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_0
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 1138
    :cond_5
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    .line 1106
    :cond_6
    :try_start_2
    invoke-virtual {v3, v4}, Ljava/io/FileOutputStream;->write(I)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_1

    .line 1132
    :catch_0
    move-exception v0

    .line 1134
    :try_start_3
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 1138
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    .line 1135
    :catch_1
    move-exception v0

    .line 1138
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    goto/16 :goto_0

    .line 1137
    :catchall_0
    move-exception v0

    .line 1138
    iput-boolean v6, p0, Lcom/adwo/adsdk/q;->d:Z

    .line 1139
    throw v0
.end method

.method protected final a(Z)V
    .locals 2
    .parameter

    .prologue
    .line 500
    iget-object v0, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    if-nez v0, :cond_0

    .line 517
    :goto_0
    return-void

    .line 502
    :cond_0
    iget-object v0, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    .line 504
    iget-object v0, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    new-instance v1, Lcom/adwo/adsdk/t;

    invoke-direct {v1, p0}, Lcom/adwo/adsdk/t;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 513
    iget-object v0, p0, Lcom/adwo/adsdk/q;->h:Landroid/widget/Button;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto :goto_0
.end method

.method public final b()Ljava/lang/String;
    .locals 1

    .prologue
    .line 113
    iget-object v0, p0, Lcom/adwo/adsdk/q;->p:Ljava/lang/String;

    return-object v0
.end method

.method public final b(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 117
    iput-object p1, p0, Lcom/adwo/adsdk/q;->p:Ljava/lang/String;

    .line 118
    return-void
.end method

.method final c()Landroid/app/Activity;
    .locals 1

    .prologue
    .line 535
    iget-object v0, p0, Lcom/adwo/adsdk/q;->n:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/app/Activity;

    return-object p0
.end method

.method protected final d()V
    .locals 9

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x1

    .line 862
    iget-object v0, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    if-nez v0, :cond_0

    .line 886
    :goto_0
    return-void

    .line 864
    :cond_0
    iget-object v0, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 865
    iget-object v0, p0, Lcom/adwo/adsdk/q;->q:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/adwo/adsdk/q;->q:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_1

    .line 866
    iget-object v0, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/adwo/adsdk/q;->r:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 868
    :cond_1
    iget-object v0, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/adwo/adsdk/q;->s:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 869
    new-instance v0, Landroid/view/animation/TranslateAnimation;

    .line 870
    const/high16 v6, 0x3f80

    move v3, v1

    move v4, v2

    move v5, v1

    move v7, v1

    move v8, v2

    .line 869
    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    .line 871
    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    .line 872
    new-instance v2, Lcom/adwo/adsdk/u;

    invoke-direct {v2, p0}, Lcom/adwo/adsdk/u;-><init>(Lcom/adwo/adsdk/q;)V

    invoke-virtual {v0, v2}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    .line 882
    iget-object v2, p0, Lcom/adwo/adsdk/q;->i:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->startAnimation(Landroid/view/animation/Animation;)V

    .line 883
    invoke-virtual {p0, v1}, Lcom/adwo/adsdk/q;->a(Z)V

    .line 884
    invoke-direct {p0, v1}, Lcom/adwo/adsdk/q;->b(Z)V

    .line 885
    invoke-direct {p0, v1}, Lcom/adwo/adsdk/q;->c(Z)V

    goto :goto_0
.end method

.method final d(Ljava/lang/String;)V
    .locals 2
    .parameter

    .prologue
    .line 431
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/adwo/adsdk/C;

    invoke-direct {v1, p0, p1}, Lcom/adwo/adsdk/C;-><init>(Lcom/adwo/adsdk/q;Ljava/lang/String;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 435
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 437
    return-void
.end method

.method final e(Ljava/lang/String;)V
    .locals 2
    .parameter

    .prologue
    .line 441
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/adwo/adsdk/D;

    invoke-direct {v1, p0, p1}, Lcom/adwo/adsdk/D;-><init>(Lcom/adwo/adsdk/q;Ljava/lang/String;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 446
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 448
    return-void
.end method

.method public final onDown(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter

    .prologue
    .line 1241
    const/4 v0, 0x0

    return v0
.end method

.method protected final onDraw(Landroid/graphics/Canvas;)V
    .locals 3
    .parameter

    .prologue
    const/4 v2, 0x0

    .line 361
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onDraw(Landroid/graphics/Canvas;)V

    .line 362
    new-instance v0, Landroid/graphics/Rect;

    invoke-virtual {p1}, Landroid/graphics/Canvas;->getClipBounds()Landroid/graphics/Rect;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V

    .line 363
    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1, v0}, Landroid/graphics/Rect;-><init>(Landroid/graphics/Rect;)V

    .line 364
    invoke-virtual {v1, v2, v2}, Landroid/graphics/Rect;->inset(II)V

    .line 365
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

    sget-object v1, Landroid/graphics/Paint$Style;->FILL:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setAntiAlias(Z)V

    .line 366
    return-void
.end method

.method public final onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 4
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    const/high16 v3, 0x4348

    const/high16 v2, 0x42f0

    .line 1248
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    cmpl-float v0, v0, v2

    if-lez v0, :cond_1

    .line 1249
    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v3

    if-lez v0, :cond_1

    .line 1250
    iget-object v0, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->goBack()V

    .line 1256
    :cond_0
    :goto_0
    const/4 v0, 0x0

    return v0

    .line 1251
    :cond_1
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getX()F

    move-result v1

    sub-float/2addr v0, v1

    cmpl-float v0, v0, v2

    if-lez v0, :cond_0

    .line 1252
    invoke-static {p3}, Ljava/lang/Math;->abs(F)F

    move-result v0

    cmpl-float v0, v0, v3

    if-lez v0, :cond_0

    .line 1254
    iget-object v0, p0, Lcom/adwo/adsdk/q;->a:Landroid/webkit/WebView;

    invoke-virtual {v0}, Landroid/webkit/WebView;->goForward()V

    goto :goto_0
.end method

.method public final onLongPress(Landroid/view/MotionEvent;)V
    .locals 0
    .parameter

    .prologue
    .line 1263
    return-void
.end method

.method public final onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1269
    const/4 v0, 0x0

    return v0
.end method

.method public final onShowPress(Landroid/view/MotionEvent;)V
    .locals 0
    .parameter

    .prologue
    .line 1276
    return-void
.end method

.method public final onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter

    .prologue
    .line 1281
    const/4 v0, 0x0

    return v0
.end method
